package br.odonto.entities;


import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;




@ManagedBean(name="dentista")
@RequestScoped
@Entity
@DiscriminatorValue("1")
public class Dentista extends Pessoa{
	@Column(length=5)
	private String cro;
	
	
	public Dentista() {
		
	}


	public String getCro() {
		return cro;
	}



	public void setCro(String cro) {
		this.cro = cro;
	}



	public String salvar(){
		
		return "cadastroDentista";
	}

}
